package com.tintintech.sendmail.util;

import com.tintintech.sendmail.Config;

public class Reload {

	public static void run()
	{
        String conf = System.getProperty(Config.CONFIG_NAME);
        if (conf == null)
        {
            conf = "F:\\imobile\\tintintech\\sendmail\\trunk\\src\\main\\conf\\local_config.xml";
        }
        Config.loadFile(conf).buildGlobals();
        System.out.println(Config.GLOBALS.get("queueSize"));
        System.out.println(Config.GLOBALS.get("threadNum"));
	}
}
